import request from '@/utils/request';

export default {
  getFleet(data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/fleetManage/getFleet',
      method: 'post',
      data,
    });
  }, getFleetAndSub(data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/fleetManage/getFleetAndSub',
      method: 'post',
      data,
    });
  }, addSystemAddressBookMember(data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/systemAddressBookManage/addSystemAddressBookMember',
      method: 'post',
      data,
    });
  }, getSystemAddressBook(data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/systemAddressBookManage/getSystemAddressBook',
      method: 'post',
      data,
    });
  }, getMemberTableData(data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/systemAddressBookManage/getMemberTableData',
      method: 'post',
      data,
    });
  }, addSystemAddressBook(data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/systemAddressBookManage/addSystemAddressBook',
      method: 'post',
      data,
    });
  }, updateSystemAddressBook(data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/systemAddressBookManage/updateSystemAddressBook',
      method: 'post',
      data,
    });
  }, deleteSystemAddressBook(data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/systemAddressBookManage/deleteSystemAddressBook',
      method: 'post',
      data,
    });
  }, deleteSystemAddressBookMember(data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/systemAddressBookManage/deleteSystemAddressBookMember',
      method: 'post',
      data,
    });
  }, updateSystemAddressBookIndex(data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/systemAddressBookManage/updateSystemAddressBookIndex',
      method: 'post',
      data,
    });
  },

};
